<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>知识卡片生成器</title>
    <style>
      body {
        width: 300px;
        padding: 10px;
      }
      .card {
        border: 1px solid #ccc;
        padding: 15px;
        margin: 10px 0;
        border-radius: 5px;
        background-color: #f9f9f9;
      }
      textarea {
        width: 100%;
        height: 100px;
        margin: 10px 0;
        padding: 5px;
      }
      button {
        background-color: #4CAF50;
        color: white;
        padding: 8px 15px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
      }
      button:hover {
        background-color: #45a049;
      }
      #cards-container {
        margin-top: 15px;
      }
    </style>
  </head>
  <body>
    <h2>知识卡片生成器</h2>
    <textarea id="content" placeholder="请输入知识内容..."></textarea>
    <button id="create">创建卡片</button>
    <div id="cards-container"></div>
    <script src="popup.js"></script>
  </body>
</html>
